package com.ktjiaoyu.demo5;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.beans.factory.annotation.Qualifier;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @ClassName : UserServiceImpl
 * @Description :
 * @Author : Lzz
 * @Date: 2023/9/25 11:30:58
 */
@Service("userService")
public class UserServiceImpl {

    @Resource
    private UserDao userDao;

    public void save(){
        userDao.save();
    }

    /*public void setUserDao(UserDao userDao) {
        this.userDao = userDao;
    }*/
}
